package com.imooc.ad.service;

import com.imooc.ad.exception.AdException;
import com.imooc.ad.vo.AdUnit.AdUnitDistrictRequest;
import com.imooc.ad.vo.AdUnit.AdUnitDistrictResponse;
import com.imooc.ad.vo.AdUnit.AdUnitItRequest;
import com.imooc.ad.vo.AdUnit.AdUnitItResponse;
import com.imooc.ad.vo.AdUnit.AdUnitKeywordRequest;
import com.imooc.ad.vo.AdUnit.AdUnitKeywordResponse;
import com.imooc.ad.vo.AdUnit.AdUnitRequest;
import com.imooc.ad.vo.AdUnit.AdUnitResponse;
import com.imooc.ad.vo.Creative.CreativeUnitRequest;
import com.imooc.ad.vo.Creative.CreativeUnitResponse;

/**
 * 广告单元Service
 */
public interface IAdUnitService {

    //广告单元
    AdUnitResponse createUnit(AdUnitRequest request) throws AdException;

    //广告单元的关键字维度
    AdUnitKeywordResponse createUnitKeyword(AdUnitKeywordRequest request)
        throws AdException;

    //广告单元的兴趣维度
    AdUnitItResponse createUnitIt(AdUnitItRequest request)
        throws AdException;

    //广告单元的地域维度
    AdUnitDistrictResponse createUnitDistrict(AdUnitDistrictRequest request)
        throws AdException;

    //创意
    CreativeUnitResponse createCreativeUnit(CreativeUnitRequest request)
        throws AdException;
}
